<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>中国站长天空-网页特效-导航菜单-超漂亮的多层树形下拉菜单</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<!--把下面代码加到<head>与</head>之间-->
<link rel="stylesheet" type="text/css" href="<%=basePath %>app/main/style/leftpage.css">
</head>
<body>
<!--把下面代码加到<body>与</body>之间-->
<div id="body">
<div class="meauclass">
<ul id="menu">
  <div id="mTree" onclick="getTextDiv1()">
  <li class="L1"><a href="#"><span style="text-align: center;">${userLeftMenus[0].pmenu.menuName }</span></a></li>
  </div>
  <div id="mTree1" style="display: none;">
  <li class="L1" onclick="getTextDiv2()"><a href="#"><span style="text-align: center;">${userLeftMenus[0].pmenu.menuName }</span></a></li>
  </div>  
  <ul id="m01d"  class="U1 overflowcss"> 
  <c:forEach items="${userLeftMenus}" var="m">
	  <li class="L22"><a href="<%=basePath %>${m.menuUrl }" target="mainFrame"><img src="<%=basePath %>${m.icon }" /></a>
	  <a href="<%=basePath %>${m.menuUrl }" target="mainFrame">${m.menuName }</a></li>
  </c:forEach>
  </ul>
</ul>
</div>
<!-- <div id="container">
  <div id="content" >
    <h3 class="display" title="moo1"><span class="today" onclick="location.href='#moo1'">今日业务动态</span></h3>
    <div class="stretcher">
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr>
          <td id="YeWuInformation">请稍侯...</td>
        </tr>
      </table>
    </div>
  </div>
</div> -->
</div>
<script type="text/javascript">
	function getTextDiv1(){
		document.getElementById ("m01d").style .display ="none";
		document.getElementById ("mTree").style .display ="none";
		document.getElementById ("mTree1").style .display ="block";
	}
	function getTextDiv2(){
		document.getElementById ("m01d").style .display ="block";
		document.getElementById ("mTree").style .display ="block";
		document.getElementById ("mTree1").style .display ="none";
	}
</script>

</body>
</html>
